package cc.lj.internal.payment.interfaces.dto.convert;

import cc.lj.internal.api.coupons.dto.CouponsSettlementApiDTO;
import cc.lj.internal.payment.domain.pay.vo.CouponsSettlementDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 电子券获取结算后返回结果表DO与DTO转换
 * @author liangxifeng
 * @date 2021-12-13
 */
@Mapper
public interface CouponsSettlementDTOConvertDO {
    CouponsSettlementDTOConvertDO INSTANCE = Mappers.getMapper(CouponsSettlementDTOConvertDO.class);
    //dto to do
    CouponsSettlementDO convert(CouponsSettlementApiDTO couponsSettlementApiDTO);
}
